<?php 
$url_subject_edit = $this->url(array('module'=>'subject','controller'=>'index','action'=>'edit'));
$url_subject = $this->url(array('module'=>'subject','controller'=>'index','action'=>'index'));
?>
<form action="<?php echo $url_subject_edit;?>" method="post" id="frm">
    <div id="wrapper">
      <div id="page-wrapper">

        <div class="row"  style=" width:100%; margin:0 auto" >
          <div class="col-lg-12">
            <h2 style="color:#00F">Create Subject</h2>
          </div>
        </div><!-- /.row -->

        <div class="row">
        <div class="panel-heading">    	  
        
          <button name="save_new" value="save_new" class="btn btn-small btn-primary">
			<b><i class="fa fa-plus"></i></b> &nbsp;Save New 
		  </button>
		  <button name="save_colse" value="save_colse" class="btn btn-small btn-primary">
		  <b><i class="icon-check"></i></b> &nbsp;Save Colse	
		  </button>
		  <a href="<?php echo $url_subject;?>">
		  <button type="button" name="cancel" value="cancel" class="btn btn-small btn-warning">
			  <b><i class="fa fa-times"></i></b> &nbsp;Cancel					 
		  </button>
		  </a>
        </div>
        <table border="0" cellpadding="5" width="50%" style="margin:0 auto;">
        	<tr>
            	<td>Name Faculty:</td>
                <td> <?php echo $this->fromsubject->getElement("fac_id");?></td>
            </tr>
            <tr>
            	<td width="150px">Name Department:</td>
                <td> <?php echo $this->fromsubject->getElement("dpt_id");?></td>
            </tr>
            <tr>
            	<td width="150px">Name Year:</td>
                <td> <?php echo $this->fromsubject->getElement("year_id");?></td>
            </tr>
            <tr>
            	<td width="150px">Name Semester:</td>
                <td> <?php echo $this->fromsubject->getElement("semester_id");?></td>
            </tr>
            <tr>
            	<td>Subject Name:</td>
                <td> <?php echo $this->fromsubject->getElement("subject_name");?></td>
            </tr>
            <tr>
            	<td>Ordering:</td>
                <td> <?php echo $this->fromsubject->getElement("ordering");?></td>
            </tr>
            <tr>
            	<td>Description :</td>
                <td> <?php echo $this->fromsubject->getElement("description");?></td>
            </tr>
        </table>
        
        </div><!-- /#page-row -->
      </div><!-- /#page-wrapper -->

    </div><!-- /#wrapper -->   
</form>
<!-- Modal -->
	